<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<?

$pattern = '/ws_secure/';
if ( preg_match($pattern, $_SERVER[PHP_SELF]) ) {
    //require_once '../../init.php';
    // the ws_secure files need this frame of reference
    // this define comes from the ws_secure init file in this case
    echo '<base href="'.APP_BASE_URL.'" />';
}
?>

<script src="<?php echo APP_TEMPLATE_URL;?>javascript/aggregate_scripts.php"></script>
<!--  the above loads all the scripts below so they can load in one server transaction
<script src="javascript/general.js"></script>
<script src="javascript/animated_collapse.js"></script>
<script type="text/javascript" src="javascript/bubble-tooltip.js"></script>
<script type="text/javascript" src="javascript/niftyCorners.js"></script>
<script type="text/javascript" src="javascript/dropdowncontent.js"></script>
-->

<link href="<?php echo APP_TEMPLATE_URL;?>css/aggregate_css.php" rel="stylesheet" type="text/css" />
<!-- the above loads all the css below
<link href="css/text_styles.css" rel="stylesheet" type="text/css" />
<link href="css/general.css" rel="stylesheet"/>
<link rel="stylesheet" href="css/bubble-tooltip.css" media="screen">
-->

</head>
<body onload="document.getElementById('usr_username').focus()">
<!--Outermost Containing Table-->
<table border="0" cellpadding="0" cellspacing="0" width="950">
   <tr>
      <td>
	  <!--BEGIN Header Image-->
	     <table width="950" border="0" cellpadding="0" cellspacing="0" class="admin">
		    <tr>
			   <td>
			     <img src="<?php echo APP_TEMPLATE_URL;?>images/amc_lgo.gif" alt="AMC" />
			   </td>
			   <td align="right">
			   <? if($security->user->usr_username) { ?>
                    			    You are logged in as <b><?= $security->user->usr_username; ?></b> <br/>
                <a class="" href="<?= SEC_LOGIN_PAGE;?>?task=logout">logout</a>&nbsp;
                <? } // end if ?>
			   </td>
			</tr>
	     </table>
	 <!--END Header Image-->
		 <table width="950" cellpadding="0" cellspacing="0" border="0" bgcolor="#045a8d" class="admin_nav">
		 <tbody>
		    <tr><td width="14%" align="center">
			    <span class="white"><a href="<?= APP_BASE_REL_PATH;?>ws_secure/user_admin.php?task=list">Admin Users</span>
			  </td>
			<!--   <td width="14%" align="center">
			  <span class="white"><a href="<?= APP_BASE_REL_PATH;?>ws_joomla_import/project.php">Project Manager </a></span>
			  </td>-->
			  <td width="14%" align="center" height="30" valign="middle">
			    <span class="white"><a href="<?= APP_BASE_REL_PATH;?>ws_joomla_import/index.php">Pages</a></span>
			  </td>
			  <td width="14%" align="center">
			 <span class="white"><a href="<?= APP_BASE_REL_PATH;?>ws_joomla_import/template.php">Templates</a></span>
			  </td>
			  <td width="14%" align="center">
			  <span class="white"><a href="<?= APP_BASE_REL_PATH;?>ws_joomla_import/validate.php">Compare URLS</a></span>
			  </td>
			  <td width="14%" align="center">
			  <span class="white"><a href="<?= APP_BASE_REL_PATH;?>ws_joomla_import/report.php">Reports</a></span>
			  </td>
			</tr>
	     </table>
		   <!---BEGIN charcoal background box--->
		  <div class="outer_box" style="margin-left:0px;padding:10px;width:930px;background-color:#373839;">

            <!--BEGIN blue Box--->
            <div class="inner_box" style="width:910px;padding:10px;background-color:#408BA9;">


            <!--
            The main purpose of this table it to stretch the inner blue div vertically.
            Putting nifty corners on a div makes it difficult to set its height manually. But stretching
            it from within with an embedded block does the trick
            -->
            <table width="100%" border="0" cellpadding="15" cellspacing="0" align="center" height="500" class="admin">
            <tbody>
            <tr>
            <td valign='top'>

            <!---Abstract Form--->

